package org.cedar.exceptions;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Copyright: Copyright (c) 2005
 * </p>
 * <p>
 * Company:
 * </p>
 * 
 * @author net.wzh
 * @version 1.0
 */

public class CalcException extends Exception {
	private static final long serialVersionUID = -7904629381789262395L;

	public CalcException() {
	}
	public CalcException(Integer errorCode) {
		super(ExceptionCode.getErrorMsg(errorCode));
	}
	public CalcException(Integer errorCode, String details) {
		super(ExceptionCode.getErrorMsg(errorCode)+":"+details);
	}
	public CalcException(Integer errorCode, Integer details) {
		super(ExceptionCode.getErrorMsg(errorCode)+":"+details);
	}
}
